/*
 * @Author: your name
 * @Date: 2021-09-06 19:47:54
 * @LastEditTime: 2021-10-31 15:32:54
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \项目文件夹\xiangmu\ej-customer-cli\src\store\order\order.js
 */
import { get, post, post_json } from '../../http/axios'
export default {
  namespaced: true,
  state: {
     opagequeries:[]
  },
  mutations: {
    SET_PAGEQUERY(state,payload){
      state.opagequeries=payload
    }
  },
  actions: {
      async finderOrderQuery({commit}){
        let res = await get('/order/pageQuery',{
          page:1,
          pageSize:10
        })
        commit('SET_PAGEQUERY',res.data.data.list)
      }
  }
}